from selenium import webdriver
from options import options


url = r'https://www.baidu.com/'
driver = webdriver.Chrome(options=options)
driver.get(url)
driver.get_screenshot_as_file(r'C:\Users\hp\PycharmProjects\python_230901\homework\wuyuan\day1229\baidu.png')